<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="__STATIC__/index/css/newgoods.css">
    <link rel="stylesheet" href="__STATIC__/index/css/quan_common.css">
    <link rel="stylesheet" href="__STATIC__/index/css/single.css">
    <link rel="stylesheet" href="__STATIC__/index/css/common.css">
    <link rel="stylesheet" href="__STATIC__/index/css/center2.css">
    <script src="__STATIC__/index/js/jquery-3.2.1.js"></script>
    <title>发布新品</title>
    <style>
      .pub-header .head-block .yrz .user-block .username i{
        top: 32px;
      }    	
  	 .seller_mybalance a{
    	color: #3286ff;
			background: #eff6ff;
    }

    </style>
</head>

<body>
    <!-- 头部 -->
    <style>
        .acitve_layer_open {
            text-align: left;
            font-size: 12px;
            line-height: 22px;
            padding: 30px 20px;
            color: #555;
            border-bottom: solid 1px #f1f1f1;
        }

        .acitve_layer_open span {
            color: #FF6633;
        }

        .acitve_layer_open p {
            color: #333;
            padding-bottom: 2px;
        }

    	  .cz_center{
        		display: inline-block;
        /*		border: 1px solid #dddee1;*/
        		padding: 5px 20px;
        		border-radius: 5px;
        		background: #4c6cc9;

        		float: right;
        	}
        	.cz_center a{
        		color: #fff;
        	}
        	.cz_center a:hover{
        		color: #fff;
        		font-weight: 900;
        	}
    </style>

{include file='common/heade'}
		<div class="ext-center">
	       <div class="single_center w_1200">
		         {include file='common/left'}
             <!--左侧菜单统计事件-->
             <div id="div-right" class="content-right">
                <div class="right-index border-all bg-white">
                    <div class="header-menu-item"><span class="title">结算中心</span></div>
                    <div class="shop-list">
                        <div class="btn-group">
                            <button type="button" class="ivu-btn ivu-btn-primary" onclick="balance(1)"><span>未结算</span></button>
                            <button type="button" class="ivu-btn ivu-btn-ghost" onclick="balance(2)"><span>已结算</span></button>

                         		<div class="cz_center">
                         			  <a href="{:url('index/seller/make')}">充值中心</a>
                         		</div>
                        </div>
                        <div>
                            <div class="goods-table ivu-table-wrapper" style="height: 690px;">
                                <div class="ivu-table ivu-table-stripe ivu-table-with-fixed-top">
                                    <div class="ivu-table-header">
                                        <table cellspacing="0" cellpadding="0" style="width: 966px;">
                                            <colgroup>
                                                <col width="80">
                                                <col width="170">
                                                <col width="170">
                                                <col width="170">
                                                <col width="170">
                                                <col width="625">
                                                <col width="170">
                                                <col width="170">
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th class="ivu-table-column-center">
                                                        <div class="ivu-table-cell"><span class="">ID</span></div>
                                                    </th>
                                                    <th class="ivu-table-column-center">
                                                        <div class="ivu-table-cell"><span class="">订单号</span></div>
                                                    </th>
                                                    <th class="ivu-table-column-center">
                                                        <div class="ivu-table-cell"><span class="">商品名称</span></div>
                                                    </th>
                                                    <th class="ivu-table-column-center">
                                                        <div class="ivu-table-cell"><span class="">创建时间</span></div>
                                                    </th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                            {volist name="data.orders" id="vo"}
                                                <tr>
                                                    <td>
                                                      <div class="ivu-table-cell">
                                                          <span class="">{$vo.id}</span>
                                                      </div>
                                                    </td>
                                                    <td>
                                                      <div class="ivu-table-cell">
                                                          <span class="">{$vo.trade_id}</span>
                                                      </div>
                                                    </td>
                                                    <td>
                                                      <div class="ivu-table-cell">
                                                          <span class=""><img src="{$vo.goods.large_img}" style="width:100px; height:80px;"></span>
                                                      </div>
                                                    </td>
                                                    <td>
                                                      <div class="ivu-table-cell">
                                                          <span class="">{$vo.goods.title}</span>
                                                      </div>
                                                    </td>
                                                    <td>
                                                      <div class="ivu-table-cell">
                                                          <span class="">{$vo.price*$vo.item_num}</span>
                                                      </div>
                                                    </td>
                                                    <td>
                                                        <div class="ivu-table-cell">
                                                            <span class="">{$vo.status}</span>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <div class="ivu-table-cell">
                                                            <span class="">{$vo.create_time|date="Y-m-d H:i",###}</span>
                                                        </div>
                                                    </td>
                                                </tr>
                                            {/volist}
                                            </tbody>
                                        </table>
                                    </div>
                                    <!-- <div class="ivu-table-tip" style="height: 649px;">
                                        <table cellspacing="0" cellpadding="0">
                                            <tbody>
                                                <tr>
                                                    <td style="width: 966px; height: 649px;"><span>暂无商品</span></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div> -->
                                </div>
                                <object tabindex="-1" type="text/html" data="about:blank" style="display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: none; padding: 0px; margin: 0px; opacity: 0; z-index: -1000; pointer-events: none;"></object>
                            </div>
                            {$data.page}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 尾部 -->
        {include file='common/bottom'}
</body>
</html>
<script type="text/javascript">
    function balance(status) {
        window.location.href = '/index/seller/balance/status/'+status;
    }
</script>
